package com.wjbgn.bsolver.server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wjbgn.bsolver.server.dto.AchievementDTO;
import com.wjbgn.bsolver.server.dto.BugAnsweredRecordDTO;
import com.wjbgn.bsolver.server.entity.BugAnsweredRecordDO;

import java.util.List;

/**
 * Description:
 * Create Date: 2022-04-21T13:26:52.898
 *
 * @author wjbgn
 * @version 1.0
 */
public interface IBugAnsweredRecordService {
    BugAnsweredRecordDO save(BugAnsweredRecordDO bugAnsweredRecordDO);

    List<BugAnsweredRecordDTO> list(BugAnsweredRecordDO bugAnsweredRecordDO);

    Page<BugAnsweredRecordDO> findByPageable(BugAnsweredRecordDTO bugAnsweredRecordDTO);

    AchievementDTO getAcceptAndRejectNum(String username);
}